<div class="aw-mod side-nav">
    <div class="mod-head">
        <a href="/friend/" class="pull-right"><?php _e('更多'); ?> &gt;</a>
        <h3><?php _e('我的好友'); ?></h3>
    </div>
    <div class="mod-body">
        <?php if (is_array($this->sidebar_friends)) { ?>
        <?php foreach($this->sidebar_friends as $key=>$val) {?>
        <a href="people/<?php echo $val['url_token']; ?>" class="aw-user-img aw-border-radius-5"><img src="<?php echo get_avatar_url($val['uid'], 'mid'); ?>" alt="<?php echo $val['user_name']; ?>" style="width: 32px;height: 32px"></a>
        <?php } ?>
        <?php } ?>
    </div>
</div>